<!-- ./skins/tpl/domain/domain.tpl begin -->
<?if(!empty($info)):?>
<div style="background-color:#aaa;width:50%;line-height:25px;font:12px sans-serif;color:red;border:1px solid red;padding:5px;"><?php echo getInfo($info); ?></div>
<?endif?>
<div style="padding:10px;">
<h2><?=$d['d_caption']?></h2>

<?if(!empty($d['d_description'])):?>
<h3>Описание:</h3>
<p><?=$d['d_description']?></p>
<?endif?>

<?if(!empty($d_u)):?>
	<h3>Пользователи:</h3>
	<?foreach($d_u as $d_u_key => $u):?>
		<span><a href="index.php?page=members&rem=member&view=default&id=<?=$u['u_id']?>"><?=$u['u_caption']?></a>, </span>
	<?endforeach?>
<?endif?>

<?if(!empty($d_a)):?>
	<h3>Активы:</h3>
	<?foreach($d_a as $d_a_key => $a):?>
		<span><a href="index.php?page=assets&rem=asset&view=default&id=<?=$a['a_id']?>"><?=$a['a_caption']?></a>, </span>
	<?endforeach?>
<?endif?>

<form action="" method="post">
		<p><input name="form[value2]" type="checkbox" value="1" /><input name="ok" type="submit" value="Выйти из домена"></p>
</form>

<p><a href="<?=href('page=domains','rem=read')?>">Назад к доменам</a></p>
</div>
<!-- ./skins/tpl/domain/domain.tpl end -->